#ifndef UTF8_TO_PINYIN_H
#define UTF8_TO_PINYIN_H

typedef struct
{
	unsigned int utf;	        /* UTF8 */
	unsigned char pinyin[8];	/* PinYin */
} utf8_to_pinyin;

#define MAX_CHARS 512
static int compareints(const void* a, const void* b);
int pg_utf_mblen(const unsigned char *s);
void utfToPinyin(const unsigned char *utf, unsigned char *pinyin);

#endif
